package com.hk.core.sharding;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 定义所有的数据源，如果有多个，可以在这定义好
 *
 * @author Kevin
 * @date 2024-07-03 17:49
 */
@Getter
@RequiredArgsConstructor
public enum DataSourceName {

    DS_1(0, "ds_pms"),

    DS_2(1, "ds_dict");

    private final int index;

    private final String prefix;

    public static final String PMS_DS = "ds_0";

    public static final String DICT_DS = "ds_1";


}
